<html>
<head>
  <title>Site Spider Popup</title>
<style>
body {
  font-family: sans-serif;
}
h1 {
  font-size: smaller;
}
</style>
<script>
  function pageLoaded() {
    chrome.extension.getBackgroundPage().popupLoaded(document);
  }

  function clickGo() {
    chrome.extension.getBackgroundPage().popupGo();
    window.close();
  }
</script>
</head>
<body onload="pageLoaded()">
<h1>Site Spider</h1>

<p>
  Start on:<br>
  <input id="start" size=40>
</p>

<p>
  Restrict to:<br>
  <input id="regex" size=40>
</p>
<p>
  <input id="plusone" type="checkbox">
  <label for="plusone">Follow one link beyond restriction.</label>
</p>
<p>
  <input id="inline" type="checkbox">
  <label for="inline">Check inline content.
  <small><nobr>(CSS, JavaScript, images)</nobr></small></label>
</p>
<p>
  <input id="arguments" type="checkbox">
  <label for="arguments">Avoid links with arguments.
  <small><nobr>(e.g.&nbsp;page?foo=bar)</nobr></small></label>
</p>

<p>
  <input type="button" value="Go" id="go" onclick="clickGo()">
</p>

</body>
</html>
